﻿
namespace Commands.TorrentDownloaders
{
    public interface ITokenDispatcher
    {
        /// <summary>
        /// Check that dispatcher can download torrent file from this token. 
        /// Add token to download list if it can.
        /// </summary>
        /// <param name="token">Token to check.</param>
        /// <param name="dirParam">Folder to download torrent content.</param>
        bool CheckTokenCanBeDownloaded(string url, string dirParam);
    }
}
